package com.ym.manager.admin.order;

import com.ym.utils.DateUtil;

public class OrderUtil {
    /* 获取订单号 */
    public static String getOrderSN(){
        return String.format("%s-%s%s", DateUtil.getYYMMDD(),System.currentTimeMillis()%1000000000,(int)(Math.random()*899999+100000));
    }
}
